<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>L2LB: Referência ao ficheiro thread.h</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Gerado por Doxygen 1.5.6 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Página&nbsp;principal</span></a></li>
      <li><a href="annotated.html"><span>Estruturas&nbsp;de&nbsp;dados</span></a></li>
      <li class="current"><a href="files.html"><span>Ficheiros</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>Referência ao ficheiro thread.h</h1>Arquivo responsável pela criação de threads. <a href="#_details">Mais...</a>
<p>

<p>
<a href="thread_8h-source.html">Ir para o código fonte deste ficheiro.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Macros</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="thread_8h.html#8f0f9587389901f5f0b1a5be4c6832d1">NLB_THREADS_SIZE</a>&nbsp;&nbsp;&nbsp;2</td></tr>

<tr><td colspan="2"><br><h2>Funções</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="thread_8h.html#6e122a678ab2f0b6f13a266c214813eb">nlb_thread_init</a> (void)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Cria threads para enviar e receber mensagens UDP.  <a href="#6e122a678ab2f0b6f13a266c214813eb"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="thread_8h.html#7c8900a7756e71bec1ed910214a1bfd9">nlb_thread_exit</a> (void)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Encerra os threads.  <a href="#7c8900a7756e71bec1ed910214a1bfd9"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Variáveis</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct <a class="el" href="structksock__thread__t.html">ksock_thread_t</a> **&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="thread_8h.html#e07c427473a6b2ff701b4f72702091eb">nlb_kthreads</a> [NLB_THREADS_SIZE]</td></tr>

</table>
<hr><a name="_details"></a><h2>Descrição detalhada</h2>
Arquivo responsável pela criação de threads. 
<p>

<p>Definido no ficheiro <a class="el" href="thread_8h-source.html">thread.h</a>.</p>
<hr><h2>Documentação das macros</h2>
<a class="anchor" name="8f0f9587389901f5f0b1a5be4c6832d1"></a><!-- doxytag: member="thread.h::NLB_THREADS_SIZE" ref="8f0f9587389901f5f0b1a5be4c6832d1" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define NLB_THREADS_SIZE&nbsp;&nbsp;&nbsp;2          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definido na linha <a class="el" href="thread_8h-source.html#l00009">9</a> do ficheiro <a class="el" href="thread_8h-source.html">thread.h</a>.</p>

<p>Referenciado por <a class="el" href="thread_8h-source.html#l00045">nlb_thread_exit()</a> e <a class="el" href="thread_8h-source.html#l00016">nlb_thread_init()</a>.</p>

</div>
</div><p>
<hr><h2>Documentação das funções</h2>
<a class="anchor" name="7c8900a7756e71bec1ed910214a1bfd9"></a><!-- doxytag: member="thread.h::nlb_thread_exit" ref="7c8900a7756e71bec1ed910214a1bfd9" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int nlb_thread_exit           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Encerra os threads. 
<p>

<p>Definido na linha <a class="el" href="thread_8h-source.html#l00045">45</a> do ficheiro <a class="el" href="thread_8h-source.html">thread.h</a>.</p>

<p>Referências <a class="el" href="heartbeat_8h-source.html#l00066">hb_udp_server_thread</a> e <a class="el" href="thread_8h-source.html#l00009">NLB_THREADS_SIZE</a>.</p>

<p>Referenciado por <a class="el" href="nlb-driver_8c-source.html#l00130">nlb_exit_module()</a>.</p>

</div>
</div><p>
<a class="anchor" name="6e122a678ab2f0b6f13a266c214813eb"></a><!-- doxytag: member="thread.h::nlb_thread_init" ref="6e122a678ab2f0b6f13a266c214813eb" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int nlb_thread_init           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Cria threads para enviar e receber mensagens UDP. 
<p>

<p>Definido na linha <a class="el" href="thread_8h-source.html#l00016">16</a> do ficheiro <a class="el" href="thread_8h-source.html">thread.h</a>.</p>

<p>Referências <a class="el" href="heartbeat_8h-source.html#l00326">hb_get_udp_client_thread()</a>, <a class="el" href="heartbeat_8h-source.html#l00316">hb_get_udp_server_thread()</a>, <a class="el" href="thread_8h-source.html#l00009">NLB_THREADS_SIZE</a> e <a class="el" href="socket_8h-source.html#l00019">ksock_thread_t::thread</a>.</p>

<p>Referenciado por <a class="el" href="nlb-driver_8c-source.html#l00100">nlb_init_module()</a>.</p>

</div>
</div><p>
<hr><h2>Documentação das variáveis</h2>
<a class="anchor" name="e07c427473a6b2ff701b4f72702091eb"></a><!-- doxytag: member="thread.h::nlb_kthreads" ref="e07c427473a6b2ff701b4f72702091eb" args="[NLB_THREADS_SIZE]" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structksock__thread__t.html">ksock_thread_t</a>** <a class="el" href="thread_8h.html#e07c427473a6b2ff701b4f72702091eb">nlb_kthreads</a>[NLB_THREADS_SIZE]          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definido na linha <a class="el" href="thread_8h-source.html#l00011">11</a> do ficheiro <a class="el" href="thread_8h-source.html">thread.h</a>.</p>

</div>
</div><p>
</div>
<hr size="1"><address style="text-align: right;"><small>Gerado em Wed Sep 10 23:05:56 2008 para L2LB por&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
</body>
</html>
